#include "Warrior.h"

// Toutes les animations du Warrior plus l'utilisation de XML pour Initialisation.
Warrior::Warrior(void)
	: Character("Warrior", "ally", "warrior")
{
	characterAnim[IDLE] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 0, 1, true, 171, 1, 27, 32, 1, 1);
	characterAnim[WALKF] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 1, 1, 28 /*29*/, 32, 1, 1);
	characterAnim[WALKB] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 58, 1, 28, 32, 1, 1);
	characterAnim[WALKR] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 115, 1, 27, 32, 1, 1);
	characterAnim[WALKL] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 171, 1, 27, 32, 1, 1);
	characterAnim[HEADF] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 2, 1, true, 227, 1, 27, 32, 1, 1);
	characterAnim[DEAD] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 0, 1, true, 308, 1, 32, 32, 1, 1);
	characterAnim[MUSIC] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 340, 1, 30, 32, 1, 1);
	characterAnim[SQUAT] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 458, 1, 30, 32, 1, 1);
	characterAnim[BYE] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 518, 1, 29, 32, 1, 1);
	characterAnim[ATTACK] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 2, true, 633, 1, 27, 32, 100, 100);
	characterAnim[CAST] = new SDLAnimation("Assets/Artworks/AnimationSheet.png", 1, 1, true, 633, 1, 27, 32, 1, 1);
}


Warrior::~Warrior(void)
{

}